Aggregation in Disjunctive Deductive Databases
نویسنده
چکیده
Practical applications of deductive databases often require the use of extended features like disjunctive information, aggregation operators or default negation. But it has been unclear how one could deal with aggregation in the presense of recursion and disjunction. Usually , there is the requirement that deductive databases must be stratiied w.r.t. aggregation, i.e. a predicate q that is deened using aggrega-tion based on some other predicate p may not be used for deriving this other predicate p. Disjunctive deductive databases extend the classical Datalog language by disjunction, default negation, and function symbols. 1 There are practical examples that require non{ stratiied aggregation in disjunctive deductive databases. We will present a clear declarative set semantics for disjunctive deductive databases P with aggregation. The semantics is based on a special program transformation, which replaces an aggregation by a suitable construct using default negation and the function symbol for lists. The transformed database P agg is free of aggre-gation, and it can be evaluated based on the well{known concept of stable models. 1 In this paper we will use the term disjunctive de-ductive database as an equivalent to disjunctive logic program.
منابع مشابه
Deductive Databases with Conditional Facts
Department of Computer Science The Wichita State University Wichita, Kansas 67260-0083, USA e-mail: [email protected] Abstract. We introduce the notion of conditional facts in deductive databases. The language used to express the conditions in the basic facts does not involve constructs used to describe the database and is motivated by its potential usefulness in expressing disjunctive facts and ...
متن کاملA Tractable Class of Disjunctive Deductive Databases
In general, computing answers to queries in disjunctive deductive databases is CoNP-complete and therefore computationally infeasible. However, there are some tractable classes of disjunctive databases. In this paper, we present polynomial time algorithms to compute answers to queries in one such tractable class of disjunctive databases where at most two atoms are allowed in any disjunction.
متن کاملView Updates in Disjunctive Deductive Databases Based on SLD-Resolution
View update problem in deductive databases is concerned with the translation of an update of an intensional relation by modifying the underlying relations of the extensional part of the database. In the existing algorithms for view updates of a deductive database, a sound and complete proof procedure is usually employed to generate explanations for the atom to be inserted or deleted. In the cas...
متن کاملDisjunctive Deductive Databases
Background material is presented on deductive and normal de-ductive databases. A historical review is presented of work in disjunctive deductive databases, starting from 1982. The semantics of alternative classes of disjunctive databases is reviewed with their model and xpoint characterizations. Algorithms are developed to compute answers to queries in the alternative theories using the concept...
متن کاملDisjunctive Deductive Databases : Semantics , Updates , and Architecture ?
The basic assumption in relational and deductive databases is that there are no gaps in our knowledge. That is, the database cannot store data that contain null values or data that is indeenite. In practical situations knowledge is not precise, and there are gaps in our knowledge. These gaps may be due to null values in the data, may arise when we combine several databases that lead to inconsis...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1999